package com.liang.service;

import com.liang.pojo.UserAction;

import java.util.List;

public interface UserActionService {

    /**
     * 用户行为插入
     * @param userId
     * @param movieId
     * @param score
     * @return
     */
    int addUserAction(int userId,int movieId,float score);

    List<UserAction> getUserActionListById(int id);

    int[] getUserId();

    int[] getMovieIdById(int userId);
}
